package parkshop.pmcourse.mapping;

import java.util.List;

import parkshop.pmcourse.domain.ShopOwner;
import parkshop.pmcourse.dto.PageBean;

public interface ShopOwnerMapper {
	
	ShopOwner selectByPrimaryKey(Long id);
	int insertSelective(ShopOwner shopOwner);
	ShopOwner selectByName(String name);
	int updateByPrimaryKeySelective(ShopOwner shopOwner);
	int deleteByPrimaryKey(Long id);
	int deleteByName(String name);
	List<ShopOwner> selectTenShopOwner(PageBean pageBean);
	int selectSum();
	ShopOwner getShopOwnerByActiveCode(String code);
	int updateShopOwnerByActiveCode(ShopOwner shopOwner);

}
